This is G o o g l e's cache of http://www.rockbox.org/twiki/bin/view/Main/UsbOnTheGoSupport as retrieved on 8 Sep 2005 03:24:57 GMT.
G o o g l e's cache is the snapshot that we took of the page as we crawled the web.
The page may have changed since that time. Click here for the current page without highlighting.
This cached page may reference images which are no longer available. Click here for the cached text only.
To link to or bookmark this page, use the following url: http://www.google.com/search?q=cache:5sos2HcYULgJ:www.rockbox.org/twiki/bin/view/Main/UsbOnTheGoSupport+site:rockbox.org+usbonthegosupport&hl=en&client=firefox


Google is neither affiliated with the authors of this page nor responsible for its content.
These search terms have been highlighted: usbonthegosupport 

Rockbox . Main . UsbOnTheGoSupport

 Rockbox Logo 

home
download
documentation
mailing lists
wiki
IRC
forums
daily builds
feature requests
bug reports
patches


SourceForge.net Logo

Rockbox > Main > UsbOnTheGoSupport
Main . { Users | Changes | Index | Search | Register | Go }

Table Of Contents

Some thoughts

I created this topic for discussion of the future USB-On-The-Go (USB OTG) support in RockBox. The discussion will be based on iriver H3x0 for the moment, because
1) i have iriver H340
and
2) the other device the RockBox port is working on with USB host caps is IaudioX5, but we don't have the specific chip's documentation atm.

OK, iriver H3x0 has Philips ISP1362 USB OTG controller, which features 2 hardware ports - the first can be used as Device, as Host, and as OTG port, while the second can be used only as Host port. It seems like the iriver uses the first one, because on the US iriver it's used as device port. This chip fully supports USB 1.1 specifications + OnTheGo Supplement to USB 2.0 specs.

Also, it supports all standard transfer modes (Control (ok, it's needed for USB to work AT ALL), Isochronous (used mostly for real-time transfers like audio & video), INT (used mostly for devices like HID - Humain Interface Device like keyboards, mouses, joysticks, for other devices too (like some of USB Mass Storage protocols) and Bulk (used for USB Mass storage, printers, scanners).

The only restriction i know till now is the current with which the chip can supply the usb ports - it's lower than the standard 500mA;

We will need support for AT LEAST 2 device classes:
1) USB mass storage
2) Still Image (PTP - picture transfer protocol, many cameras use this for transfering the images to a computer)

and maybe the protocol used in older Canon cameras (reverse engineered afaik)

  • Some Canon cameras (eg S45 ~late 2002) support both PTP or the default "normal" (canon protocol) as chosen in Menu -> Tools -> Communication. Source code for gphoto2 may provide insight into PTP and canon protocol when needed. -- TroyMartinez - 07 Aug 2005
  • There is also a small app used to capture images from a camera. It would be WAY cool if it was ported to Rockbox. Sourceforge `capture` page, original author's website. Capture relies on libptp and uses some Canon (and Nikon?) extensions for capturing. -- AlexandreBourget - 29 Aug 2005


Dreams

  • To be able to "mount" the USB device in the way MMC is mounted in Archos Ondio ...

  • To be able to use for example keyboard for text input (needs new USB device class support - HID)

  • Connecting an USB TV tuner to watch TV on the H300

  • Connecting a WLAN adapter to listen to web radio or to use the player as SIP phone

  • To have a tiny interface to the capture utility, and capture still photos remotely using the H300. Also control flash type, aperture, shutter speed, and have everything dumped right onto the iRiver disk :) -- AlexandreBourget - 29 Aug 2005

  • To support a more expansive list of MP3 players and UMS storage devices, maybe even ones with custom protocols (ie. iPod).


Questions & Discussion

1) DO we really need full OTG support? I mean: Do we need the port to act like a OTG port in terms of being capable to switch between the Device & Host Mode on request by the other device? In fact, do we need Device caps generally?

2) Will all these protocols be compiled in the rockbox statically? Or there will be some kind of "protocol plugins" ? Let's start a discussion about the way USB support will be realised in RockBox

{ Edit | View raw | Attach | Ref-By | Printable | Diffs | r1.8 | > | r1.7 | > | r1.6 | More }
Revision r1.8 - 29 Aug 2005 - 06:12 GMT - WillRobertson Copyright © 1999-2005 by the contributing authors.